﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Db4o.Framework.Interfaces
{
    public abstract class ILogged
    {
        protected static log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        private static DateTime startLogTime;
        protected static DateTime StartLogTime()
        {
            startLogTime = DateTime.Now;
            return startLogTime;
        }
        protected static TimeSpan StoptLogTime()
        {

            return DateTime.Now.Subtract(startLogTime);
        }
    }
}
